import request from '@/router/axios';
import qs from 'qs'

export const equipmentTypeList = () => request({
    url: '/equipmentType/v1/findAllType',
    method: 'post',
})

// 设备类别 --- 条件分页查询
export const getEquipmentTypeList = (data = {}) => request ({
    url: `/equipmentType/v1/pageQuery?page=${data.page}&size=${data.size}`,
    method: 'post',
    data: data.equipmentType
})
